package com.sjsu.CMPE226.JDBC.config;

import java.sql.Connection;
import java.sql.DriverManager;
/**
 * 
 * @author Pawar Deepali
 *
 */
public class NormalisedConnection {
	
	public static Connection getConnection() throws Exception {
		String driver = "com.mysql.jdbc.Driver";
		String url = "jdbc:mysql://localhost/weather_normalized_jdbc";
		String username = "root";
		String password = "root";
		Class.forName(driver);
		Connection conn = DriverManager.getConnection(url, username, password);

		return conn;
	}

}
